package com.yugao.fintech.libra.auth.model.rqrs;

import com.yugao.fintech.libra.common.model.constants.ValidationCons;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;

/**
 * 当前登录用户重置自己的密码

 */
@Getter
@Setter
@ToString
public class UserResetPwdReq {
    @NotEmpty(message = ValidationCons.NOT_EMPTY)
    private String oldPassword;

    @NotEmpty(message = ValidationCons.NOT_EMPTY)
    private String password;

    @NotEmpty(message = ValidationCons.NOT_EMPTY)
    private String confirmPassword;
}
